summaryrefslogtreecommitdiff
path: root/frontend/app/v2/[...path]
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2025-08-12 16:16:11 +0100
committerdiogo464 <[email protected]>2025-08-12 16:16:11 +0100
commit519bb45b89591b78b3ef65e4b937c53482552887 (patch)
treef702af995eb5e5592b31d1a06d41936300012d1b /frontend/app/v2/[...path]
parentd896aa6627ad5bdfca417c04cd340b517fe4398f (diff)
Implement /v2 prototype UI with page-based navigation
- Add /v2 route structure with dynamic nested directory pages - Create V2DirectoryView component with breadcrumb navigation - Add V2MoveDialog with directory search and flat list display - Implement single upload button for current directory context - Add /api/directories endpoint for move dialog directory picker - Fix breadcrumb decoding to show readable names instead of URL encoding - Add file sorting: directories first, then files, all alphabetically - Improve performance by loading only current directory contents - Add ScrollArea component and @radix-ui/react-scroll-area dependency - Ensure proper URL encoding/decoding flow to prevent malformed paths 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Diffstat (limited to 'frontend/app/v2/[...path]')
-rw-r--r--frontend/app/v2/[...path]/page.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/app/v2/[...path]/page.tsx b/frontend/app/v2/[...path]/page.tsx
new file mode 100644
index 0000000..4af0167
--- /dev/null
+++ b/frontend/app/v2/[...path]/page.tsx
@@ -0,0 +1,12 @@
1import { V2DirectoryView } from "@/components/v2/V2DirectoryView"
2
3export default async function V2DirectoryPage({
4 params,
5}: {
6 params: Promise<{ path: string[] }>
7}) {
8 const { path: pathSegments } = await params
9 const currentPath = '/' + (pathSegments?.join('/') || '')
10
11 return <V2DirectoryView path={currentPath} />
12} \ No newline at end of file